home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9804 / 000041_owner-linux-arm…r.rutgers.edu _Wed Apr 15 14:28:01 1998.msg < prev    next >
Internet Message Format  |  1998-05-13  |  3KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from orava.funet.fi (orava.funet.fi [128.214.248.46])
  3.     by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id OAA07680
  4.     for <willy@odie.fluff.org>; Wed, 15 Apr 1998 14:28:00 +0100
  5. Received: from vger.rutgers.edu ([128.6.190.2]:12520 "EHLO vger.rutgers.edu" ident: "root") by orava.funet.fi with ESMTP id <390785-16497>; Wed, 15 Apr 1998 16:28:12 +0300
  6. Received: by vger.rutgers.edu id <970801-214>; Wed, 15 Apr 1998 09:24:10 -0400
  7. Received: from odie.barnet.ac.uk ([194.82.202.98]:19714 "EHLO odie.barnet.ac.uk" ident: "TIMEDOUT") by vger.rutgers.edu with ESMTP id <970790-214>; Wed, 15 Apr 1998 09:23:56 -0400
  8. Received: (from willy@localhost)
  9.     by odie.barnet.ac.uk (8.8.6/8.8.6) id OAA07648;
  10.     Wed, 15 Apr 1998 14:25:54 +0100
  11. From: Matthew Wilcox <willy@odie.barnet.ac.uk>
  12. Message-Id: <199804151325.OAA07648@odie.barnet.ac.uk>
  13. Subject: Re: Setting up cross-compiler
  14. To: otfried@cs.ust.hk
  15. Date:     Wed, 15 Apr 1998 14:25:53 +0100 (BST)
  16. Cc: linux-arm@vger.rutgers.edu
  17. In-Reply-To: <199804151300.VAA01520@sqz519.ust.hk> from "otfried@cs.ust.hk" at Apr 15, 98 09:00:15 pm
  18. X-Mailer: ELM [version 2.4 PL25]
  19. MIME-Version: 1.0
  20. Content-Type: text/plain; charset=US-ASCII
  21. Content-Transfer-Encoding: 7bit
  22. X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
  23. Sender: owner-linux-arm@vger.rutgers.edu
  24. Precedence: bulk
  25. X-Loop: majordomo@vger.rutgers.edu
  26. Status: RO
  27.  
  28. otfried@cs.ust.hk
  29. > Excuse me for what is probably a very basic question:  Is there any
  30. > more information about setting up gcc as a cross-compiler for ARM? 
  31.  
  32. It's not a basic question at all, crosscompiling to the ARM with 2.7.x
  33. was Hard.  2.8.x is significantly easier.
  34.  
  35. > What I don't understand is how to get around the problem of making
  36. > libgcc1.a.  I'm building with --target=arm-unknown-linuxaout
  37. > --host=i586-redhat-linux, and the build stops with "You must find a
  38. > way to make libgcc1.a".  I've read the gcc info files about building
  39. > cross compilers, but that leaves me even more confused.
  40.  
  41. Grab the libgcc.a that comes with the distribution.  Should be in the
  42. gcc RPM.
  43.  
  44. Alternatively, build gcc 2.8.1 for crosscompilation, without applying
  45. any patches to it.  This _should_ work.  2.8.0 miscompiles ARMLinux
  46. kernels for me (and apparently it also miscompiles Linux for other
  47. architectures); I haven't tried 2.8.1 yet.
  48.  
  49. -- 
  50. Set Alias$Case Set Alias$[ |||| |MSet Alias$Otherwise Set Alias$[ \ Matthew
  51. "" |MSet Alias$When If %0=%%0 Then Set Alias$[ "" ||MIf %0=%%0    \ Wilcox
  52. Then Set Alias$Otherwise Set Alias$[ |||||||||||||||| ||MIf       \
  53. %0=%%0 Then Set Alias$When Set Alias$[ ||||||||||||||||
  54. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu